Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference / JManager Functions
Frame Manipulation Functions /


JMFrameMouseOver

Passes a mouse-rollover event to a frame.

OSStatus JMFrameMouseOver (
JMFrameRef frame, 
Point localPos, 
short modifiers);
frame
The frame containing the mouse. This should be the active frame.
localPos
The position of the mouse in frame coordinates.
modifiers
Any keyboard modifiers from the EventRecord. See Inside Macintosh: Macintosh Toolbox Essentials, for more information about the EventRecord data structure.
function result
A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
To monitor the position of the mouse, you should call JMFrameMouseOver and JMIdle each time through the event loop. Note that the client application must keep track of the currently active frame.

SEE ALSO
The JMIdle function (page 23).

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help